﻿using Rw.Core.Document;

namespace WH.Contracts.Systems.Organizations
{
    public class OrganizationsImport
    {
        /// <summary>
        /// 主键id 
        ///</summary>
        [ExcelColumnName("主键id")]
        public string? Id { get; set; }
        /// <summary>
        /// 机构编号
        /// </summary>
        [ExcelColumnName("机构编号")]
        public string? Code { get; set; }

        /// <summary>
        /// 机构名称
        /// </summary>
        [ExcelColumnName("机构名称")]
        public string? Name { get; set; }

        /// <summary>
        /// 父级id
        /// </summary>
        [ExcelColumnName("父级机构code")]
        public string? ParentCode { get; set; }

        /// <summary>
        /// 状态（0停用 1正常）
        /// </summary>
        [ExcelColumnName("状态（0停用 1正常）")]
        public bool IsEnable { get; set; }

        /// <summary>
        /// 排序码 数字越小越靠前
        /// </summary>
        [ExcelColumnName("排序码")]
        public int SortCode { get; set; }

        /// <summary>
        /// 描述/备注说明
        /// </summary>
        [ExcelColumnName("描述/备注说明")]
        public string? Remark { get; set; }
    }
}
